function basictimestep()
    v = @ccall lib.wb_robot_get_basic_time_step()::Cdouble
    trunc(Cint, v)
end

function wbstep(timestep, n = 1)
    for _ in 1:n
        @ccall lib.wb_robot_step(timestep::Cint)::Cint
    end
end